Форум dkLab и Denwer
Здесь общаются Web-разработчики.
Генеральный спонсор:
Хостинг «Джино»

Search found 1 match
Author Message
  Topic: found bug
faaliyet

Replies: 2
Views: 11592

PostForum: JsHttpRequest :: JavaScript   Posted: Sun Sep 25, 2011 9:26 am   Subject: found bug
Hi there,
(I'm Sorry , if I post this message into wrong topic. I don't know russian language. )

-Check the line of JSHttpRequest.php file.

if (php_sapi_name() == "cgi") {

This function works until version PHP5.3.

Check this:
http://php.net/manual/en/function.php-sapi-name.php

Here is the fix: (+cgi, +cgi-fcgi)

$sapi_type = php_sapi_name();
if (substr($sapi_type, 0, 3) == 'cgi') {
 
Page 1 of 1 All times are GMT + 3 Hours
XML